package com.atguigu.guli.service.statistics.service;

import com.atguigu.guli.service.base.result.R;
import com.atguigu.guli.service.statistics.service.impl.UcenterFeignClientFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter",fallback = UcenterFeignClientFallback.class)
public interface UcenterFeignClient {
    @GetMapping("/admin/ucenter/member/count/{date}")
    public R countRegisterMember(@PathVariable String date);
}
